<template>
  <div id="app">
    <section class="container">
      <header>
        <img class="logo" alt="Vue logo" src="./assets/logo.png">
        <span class="title">Todo</span>
      </header>
      <main>
        <Todo />
      </main>
    </section>
  </div>
</template>

<script>
import Todo from './components/Todo.vue'

export default {
  name: 'App',
  components: {
    Todo
  }
}
</script>

<style>
html,body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

#app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  width: 368px;
}

.logo {
  height: 64px;
  width: 64px;
}

.title {
  font-size: 30px;
}

.container > header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
</style>
